package be.xios.projectquiz.engine;

import be.xios.projectquiz.global.ScreenMethods;

import javax.swing.JFrame;

/// <summary>
/// Deze klasse bevat de mainmethod van de ENGINE/SERVER
/// </summary>
/// <author>Sebastian Kubski</author>
public class Main {
	
	public static void main(String args[]) {
		ScreenMethods main = new ScreenMethods();
			
		GUI engine = new GUI(main.findMyIP());
		engine.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		engine.setSize(main.getFullScreenX(), main.getFullScreenY());
		engine.setResizable(false);
		engine.setVisible(true);		
	}
}
